# -*- coding: utf-8 -*-
from django.contrib import admin
from noticia.models import Categoria
from noticia.models import Noticia

class NoticiaAdmin(admin.ModelAdmin):
    list_display = ('titulo','resumo',)
    list_filter = ('categorias',)
    class Media:
        js = ('/static/tinymce/jscripts/tiny_mce/tiny_mce.js', '/static/tinymce_setup/tinymce_setup.js',)



admin.site.register(Noticia,NoticiaAdmin)

admin.site.register(Categoria)
